package com.yida.gwj.deposit.domain.request.split;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author lqq
 * @date 2023-02-22
 */
@ApiModel("资金分户初始化 楼栋信息")
public class GwjFundsSplitBusinessBuildRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("业务楼栋ID")
    private Long bizBuildId;

    @ApiModelProperty("楼栋ID")
    private Long buildId;

    @ApiModelProperty("项目标识码")
    // private Long projectCode;
    private String projectCode;

    @ApiModelProperty("楼栋标识码")
    private String buildCode;

    @ApiModelProperty("楼栋名称")
    private String buildName;

    @ApiModelProperty("楼栋号")
    private String buildNo;

    @ApiModelProperty("总层数")
    private Integer totalLayer;

    @ApiModelProperty("总户数")
    private Integer totalOwner;

    @ApiModelProperty("住宅数")
    private Integer residence;

    @ApiModelProperty("非住宅数")
    private Integer nonResidence;

    @ApiModelProperty("实测面积")
    private BigDecimal totalSize;

    @ApiModelProperty("期房面积")
    private BigDecimal periodSize;

    @ApiModelProperty("楼栋类型")
    @NotNull(message = "请选择楼栋类型")
    private Integer buildType;

    @ApiModelProperty("是否为公用户 默认0 不是，1是")
    private String publicFlag;

    public String getPublicFlag() {
        return publicFlag;
    }

    public void setPublicFlag(String publicFlag) {
        this.publicFlag = publicFlag;
    }

    // public Long getProjectCode() {
    // return projectCode;
    // }
    //
    // public void setProjectCode(Long projectCode) {
    // this.projectCode = projectCode;
    // }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getBuildCode() {
        return buildCode;
    }

    public void setBuildCode(String buildCode) {
        this.buildCode = buildCode;
    }

    public String getBuildNo() {
        return buildNo;
    }

    public void setBuildNo(String buildNo) {
        this.buildNo = buildNo;
    }

    public Long getBizBuildId() {
        return bizBuildId;
    }

    public void setBizBuildId(Long bizBuildId) {
        this.bizBuildId = bizBuildId;
    }

    public Long getBuildId() {
        return buildId;
    }

    public void setBuildId(Long buildId) {
        this.buildId = buildId;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public Integer getTotalLayer() {
        return totalLayer;
    }

    public void setTotalLayer(Integer totalLayer) {
        this.totalLayer = totalLayer;
    }

    public Integer getTotalOwner() {
        return totalOwner;
    }

    public void setTotalOwner(Integer totalOwner) {
        this.totalOwner = totalOwner;
    }

    public Integer getResidence() {
        return residence;
    }

    public void setResidence(Integer residence) {
        this.residence = residence;
    }

    public Integer getNonResidence() {
        return nonResidence;
    }

    public void setNonResidence(Integer nonResidence) {
        this.nonResidence = nonResidence;
    }

    public BigDecimal getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(BigDecimal totalSize) {
        this.totalSize = totalSize;
    }

    public BigDecimal getPeriodSize() {
        return periodSize;
    }

    public void setPeriodSize(BigDecimal periodSize) {
        this.periodSize = periodSize;
    }

    public Integer getBuildType() {
        return buildType;
    }

    public void setBuildType(Integer buildType) {
        this.buildType = buildType;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjFundsSplitBuildRequest{");
        sb.append("bizBuildId=").append(bizBuildId);
        sb.append(", buildId=").append(buildId);
        sb.append(", projectCode=").append(projectCode);
        sb.append(", buildCode='").append(buildCode).append('\'');
        sb.append(", buildName='").append(buildName).append('\'');
        sb.append(", buildNo='").append(buildNo).append('\'');
        sb.append(", totalLayer=").append(totalLayer);
        sb.append(", totalOwner=").append(totalOwner);
        sb.append(", residence=").append(residence);
        sb.append(", nonResidence=").append(nonResidence);
        sb.append(", totalSize=").append(totalSize);
        sb.append(", periodSize=").append(periodSize);
        sb.append(", buildType=").append(buildType);
        sb.append('}');
        return sb.toString();
    }
}
